import request from '@/utils/request'

// 查询抄表数据列表
export function listWaterData(query) {
  return request({
    url: '/meterread/waterAnalysis/list',
    method: 'get',
    params: query
  })
}

export function listWaterDataHis(query) {
  return request({
    url: '/meterread/waterData/hisList',
    method: 'get',
    params: query
  })
}

// 查询抄表数据详细
export function getWaterData(id) {
  return request({
    url: '/meterread/waterData/' + id,
    method: 'get'
  })
}

